package regexobject;

import java.util.Locale;

public class IntegerDemo {
    public static void main(String[] args) {
        /*
        Integer i1 = new Integer(5);
        Integer i2 = new Integer(5);
        System.out.println(i1==i2);
        System.out.println(i1.equals(i2));

        Integer i3 =Integer.valueOf(5);
        Integer i4 =Integer.valueOf(5);
        System.out.println(i3==i4);
        System.out.println(i3.equals(i4));

        int i = i4.intValue();
        System.out.println(i);



        long max = Long.MAX_VALUE;
        long min = Long.MIN_VALUE;
        System.out.println(""+max+min);

        int max1 = Integer.MAX_VALUE;
        int min1 = Integer.MIN_VALUE;
        System.out.println(""+max1+min1);

        double max3 = Double.MAX_VALUE;
        double min3 = Double.MIN_VALUE;
        System.out.println(""+max3+min3);*/

        String s1 = "132.3";
        double s = Double.parseDouble(s1);
        double s2 =Double.valueOf(s1);
        System.out.println(s+s2);





    }
}
